<template>
  <view style="padding:24rpx">
    <u-parse :html="content"></u-parse>
  </view>
</template>


<script>
export default {
  data() {
    return {
      // 富文本内容
      content: "",
    };
  },
  onLoad() {
    if (uni.getStorageSync("richTextData")) {
      let param = uni.getStorageSync("richTextData");
      uni.setNavigationBarTitle({
        title: param.title,
      });
      this.content = param.content;
      uni.removeStorageSync("richTextData");
    }
  },
};
</script>

<style lang="scss" scoped>
</style>